import { RouteRecordRaw } from 'vue-router';
import { Layout} from '@/router/constant';
import { WalletOutlined } from '@vicons/antd';
import { renderIcon, } from '@/utils';


const routes: Array<RouteRecordRaw> = [
  {
    path: '/applyManagement',
    name: 'applyManagement',
    component: Layout,
    redirect: '/applyManagement/applyManagement_',
    meta: {
      title: '实验室借用审批',
      icon: renderIcon(WalletOutlined),
      sort: 8,
      permissions: ['admin'],
    },
    children: [
      {
        path: 'applyManagement_',
        name: `applyManagement_`,
        component: () => import('@/views/admin/applyManagement/applyManagement.vue'),
        meta: {
          title: '实验室借用审批',
          permissions: ['admin'],
        },
        
      },
      
    ],
  },
];

export default routes;
